package com.boottest.better.test.disablebean;

import org.springframework.beans.factory.DisposableBean;
import org.springframework.stereotype.Component;

@Component
public class DestoryApplicationBean implements DisposableBean {

    @Override
    public void destroy() throws Exception {

        System.out.println("application destory.....");

    }

}
